{include file='common/flowheader' /}
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="">
      <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">申请人:</label>
        <div class="col-xs-12 col-sm-8">
             {$originator->nickname}
        </div>
      </div>
          {if $fieldList.title.read==1}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8 {if $fieldList.title.write==0}disablefield{/if}">
            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title}">
        </div>
    </div>
    {/if}
    {if $fieldList.starttime.read==1}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Starttime')}:</label>
        <div class="col-xs-12 col-sm-8 {if $fieldList.starttime.write==0}disablefield{/if}">
            <input id="c-starttime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[starttime]" type="text" value="{$row.starttime}">
        </div>
    </div>
    {/if}
    {if $fieldList.amount.read==1}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Amount')}:</label>
        <div class="col-xs-12 col-sm-8 {if $fieldList.amount.write==0}disablefield{/if}">
            <input id="c-amount" data-rule="required" class="form-control" name="row[amount]" type="text" value="{$row.amount}">
        </div>
    </div>
    {/if}
    {if $fieldList.pays.read==1}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pays')}:</label>
        <div class="col-xs-12 col-sm-8 {if $fieldList.pays.write==0}disablefield{/if}">
            <input id="c-pays" data-rule="required" class="form-control" name="row[pays]" type="text" value="{$row.pays}">
        </div>
    </div>
    {/if}
   </div>
{include file='common/flowtoolbar' /}
    
</form>
